package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.FormInstallEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * @author guohui.zhang
 * @Title: 表单安装
 * @Package
 * @Description:
 * @date 2020/3/1219:27
 */
public interface FormInstallModel extends IModel<FormInstallEntity> {
    @Override
    List<FormInstallEntity> findEntitys(Map<String, Object> param);

    /**
     * 批量插入
     * @param list
     * @return
     */
    List<FormInstallEntity> insertBatch(List<FormInstallEntity> list);

    /**
     * 删除
     */
    Integer deleteByAppIdAndCorpid(String corpid,Long appId);

    /**
     * 删除
     * @author xingxing.xiao
     */
    Integer deleteByAppInstallId(String corpid, Long appInstallId);
}
